[INFO] cloning repository https://github.com/agonjor/escenario3-2526
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/agonjor/escenario3-2526" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fagonjor%2Fescenario3-2526", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fagonjor%2Fescenario3-2526'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ea121ab735727a1b3c595c9f0091f235d6c127ad
[INFO] fixing agonjor/escenario3-2526 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fagonjor%2Fescenario3-2526" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/agonjor/escenario3-2526
[INFO] finished tweaking git repo https://github.com/agonjor/escenario3-2526
[INFO] tweaked toml for git repo https://github.com/agonjor/escenario3-2526 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/agonjor/escenario3-2526 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/agonjor/escenario3-2526 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] b29f90715ff5f52ec85481a96df2edc4828cd98998194d6509ff5ace999997e2
[INFO] running `Command { std: "docker" "start" "b29f90715ff5f52ec85481a96df2edc4828cd98998194d6509ff5ace999997e2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b29f90715ff5f52ec85481a96df2edc4828cd98998194d6509ff5ace999997e2" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b29f90715ff5f52ec85481a96df2edc4828cd98998194d6509ff5ace999997e2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b29f90715ff5f52ec85481a96df2edc4828cd98998194d6509ff5ace999997e2" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling proc-macro2 v1.0.103
[INFO] [stderr]    Compiling libc v0.2.175
[INFO] [stderr]     Checking smallvec v1.13.2
[INFO] [stderr]     Checking regex-automata v0.4.13
[INFO] [stderr]    Compiling rustix v0.38.43
[INFO] [stderr]    Compiling utf8parse v0.2.2
[INFO] [stderr]    Compiling linux-raw-sys v0.4.15
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.1
[INFO] [stderr]    Compiling anstyle-query v1.1.2
[INFO] [stderr]    Compiling anstyle v1.0.10
[INFO] [stderr]    Compiling colorchoice v1.0.3
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling signal-hook v0.3.18
[INFO] [stderr]    Compiling clap_lex v0.7.4
[INFO] [stderr]    Compiling anstyle-parse v0.2.6
[INFO] [stderr]    Compiling anyhow v1.0.97
[INFO] [stderr]    Compiling winnow v0.7.14
[INFO] [stderr]     Checking indexmap v2.12.1
[INFO] [stderr]    Compiling toml_datetime v0.7.3
[INFO] [stderr]    Compiling serde_spanned v1.0.3
[INFO] [stderr]    Compiling thiserror v2.0.16
[INFO] [stderr]    Compiling anstream v0.6.18
[INFO] [stderr]     Checking unicode-width v0.2.1
[INFO] [stderr]    Compiling serde_json v1.0.135
[INFO] [stderr]    Compiling toml_writer v1.0.4
[INFO] [stderr]     Checking form_urlencoded v1.2.1
[INFO] [stderr]     Checking time v0.3.37
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling itertools v0.14.0
[INFO] [stderr]     Checking miniz_oxide v0.8.9
[INFO] [stderr]     Checking rayon v1.10.0
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]     Checking quick-xml v0.32.0
[INFO] [stderr]    Compiling syn v2.0.108
[INFO] [stderr]    Compiling jobserver v0.1.32
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling bugreport v0.5.1
[INFO] [stderr]     Checking bytemuck v1.21.0
[INFO] [stderr]    Compiling semver v1.0.25
[INFO] [stderr]     Checking flate2 v1.1.2
[INFO] [stderr]     Checking textwrap v0.16.2
[INFO] [stderr]    Compiling cc v1.2.7
[INFO] [stderr]    Compiling terminal_size v0.4.1
[INFO] [stderr]     Checking rgb v0.8.50
[INFO] [stderr]     Checking crossbeam-channel v0.5.15
[INFO] [stderr]     Checking std_prelude v0.2.12
[INFO] [stderr]     Checking xterm-color v1.0.1
[INFO] [stderr]    Compiling clap_builder v4.5.46
[INFO] [stderr]    Compiling getrandom v0.3.1
[INFO] [stderr]     Checking shell-escape v0.1.5
[INFO] [stderr]     Checking path_abs v0.5.1
[INFO] [stderr]    Compiling nix v0.30.1
[INFO] [stderr]     Checking ansi_colours v1.2.3
[INFO] [stderr]     Checking etcetera v0.11.0
[INFO] [stderr]     Checking content_inspector v0.2.4
[INFO] [stderr]     Checking clircle v0.6.1
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]     Checking bytesize v1.3.0
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]     Checking signal-hook-registry v1.4.6
[INFO] [stderr]     Checking mio v0.8.11
[INFO] [stderr]     Checking mio v1.1.0
[INFO] [stderr]     Checking once_cell v1.20.2
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking terminal-trx v0.2.5
[INFO] [stderr]     Checking console v0.16.1
[INFO] [stderr]     Checking shell-words v1.1.0
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking signal-hook-mio v0.2.4
[INFO] [stderr]     Checking terminal-colorsaurus v1.0.1
[INFO] [stderr]     Checking wild v2.2.1
[INFO] [stderr]     Checking crossterm v0.27.0
[INFO] [stderr]     Checking wait-timeout v0.2.1
[INFO] [stderr]     Checking dissimilar v1.0.9
[INFO] [stderr]     Checking tempfile v3.16.0
[INFO] [stderr]     Checking sysinfo v0.33.1
[INFO] [stderr]     Checking expect-test v1.5.1
[INFO] [stderr]    Compiling toml_parser v1.0.4
[INFO] [stderr]    Compiling libz-sys v1.1.21
[INFO] [stderr]    Compiling onig_sys v69.9.1
[INFO] [stderr]    Compiling libgit2-sys v0.18.2+1.9.1
[INFO] [stderr]     Checking dashmap v5.5.3
[INFO] [stderr]     Checking regex v1.12.2
[INFO] [stderr]     Checking bstr v1.11.3
[INFO] [stderr]    Compiling toml v0.9.8
[INFO] [stderr]     Checking predicates v3.1.3
[INFO] [stderr]     Checking globset v0.4.18
[INFO] [stderr]     Checking assert_cmd v2.0.16
[INFO] [stderr]     Checking clap v4.5.46
[INFO] [stderr]     Checking grep-cli v0.1.12
[INFO] [stderr]     Checking onig v6.5.1
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling darling_core v0.21.3
[INFO] [stderr]    Compiling prettyplease v0.2.37
[INFO] [stderr]    Compiling zerofrom-derive v0.1.5
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling thiserror-impl v2.0.16
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling git-version-macro v0.3.9
[INFO] [stderr]    Compiling serial_test_derive v2.0.0
[INFO] [stderr]     Checking serial_test v2.0.0
[INFO] [stderr]     Checking git-version v0.3.9
[INFO] [stderr]     Checking zerofrom v0.1.5
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking yoke v0.7.5
[INFO] [stderr]     Checking minus v5.6.1
[INFO] [stderr]     Checking zerovec v0.10.4
[INFO] [stderr]    Compiling darling_macro v0.21.3
[INFO] [stderr]    Compiling darling v0.21.3
[INFO] [stderr]    Compiling serde_with_macros v3.15.1
[INFO] [stderr]     Checking tinystr v0.7.6
[INFO] [stderr]     Checking icu_collections v1.5.0
[INFO] [stderr]     Checking icu_locid v1.5.0
[INFO] [stderr]    Compiling serde_with v3.15.1
[INFO] [stderr]     Checking plist v1.7.0
[INFO] [stderr]     Checking bincode v1.3.3
[INFO] [stderr]     Checking serde_yaml v0.9.34+deprecated
[INFO] [stderr]     Checking icu_provider v1.5.0
[INFO] [stderr]    Compiling bat v0.26.1 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating build/main.rs from 2021 edition to 2024
[INFO] [stderr]     Checking icu_locid_transform v1.5.0
[INFO] [stderr]     Checking icu_properties v1.5.1
[INFO] [stderr]     Checking syntect v5.3.0
[INFO] [stderr]     Checking icu_normalizer v1.5.0
[INFO] [stderr]     Checking idna_adapter v1.2.0
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]     Checking git2 v0.20.2
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed src/input.rs (1 fix)
[INFO] [stderr]        Fixed src/error.rs (1 fix)
[INFO] [stderr]        Fixed src/config.rs (6 fixes)
[INFO] [stderr]        Fixed src/assets/serialized_syntax_set.rs (1 fix)
[INFO] [stderr]        Fixed src/syntax_mapping.rs (1 fix)
[INFO] [stderr]        Fixed src/decorations.rs (1 fix)
[INFO] [stderr]    Migrating examples/list_syntaxes_and_themes.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating tests/no_duplicate_extensions.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating tests/integration_tests.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed tests/utils/mocked_pagers.rs (2 fixes)
[INFO] [stderr]    Migrating tests/test_pretty_printer.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating tests/snapshot_tests.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed tests/snapshot_tests.rs (1 fix)
[INFO] [stderr]    Migrating tests/system_wide_config.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating tests/assets.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating examples/advanced.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating examples/buffer.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating examples/cat.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating src/bin/bat/main.rs from 2021 edition to 2024
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/bin/bat/app.rs:431:52
[INFO] [stdout]     |
[INFO] [stdout] 324 |         let mut syntax_mapping = SyntaxMapping::new();
[INFO] [stdout]     |             ------------------
[INFO] [stdout]     |             |
[INFO] [stdout]     |             `syntax_mapping` calls a custom destructor
[INFO] [stdout]     |             `syntax_mapping` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 431 |             term_width: maybe_term_width.unwrap_or(Term::stdout().size().1 as usize),
[INFO] [stdout]     |                                                    ^^^^^^^^^^^^^^
[INFO] [stdout]     |                                                    |
[INFO] [stdout]     |                                                    this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |                                                    up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 515 |     }
[INFO] [stdout]     |     - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#1` may invoke a custom destructor because it contains a trait object
[INFO] [stdout] note: `syntax_mapping` invokes this custom destructor
[INFO] [stdout]    --> src/syntax_mapping.rs:64:1
[INFO] [stdout]     |
[INFO] [stdout]  64 | impl Drop for SyntaxMapping<'_> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]     = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating examples/simple.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating examples/yaml.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating examples/inputs.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating tests/github-actions.rs from 2021 edition to 2024
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/bin/bat/app.rs:431:52
[INFO] [stdout]     |
[INFO] [stdout] 324 |         let mut syntax_mapping = SyntaxMapping::new();
[INFO] [stdout]     |             ------------------
[INFO] [stdout]     |             |
[INFO] [stdout]     |             `syntax_mapping` calls a custom destructor
[INFO] [stdout]     |             `syntax_mapping` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 431 |             term_width: maybe_term_width.unwrap_or(Term::stdout().size().1 as usize),
[INFO] [stdout]     |                                                    ^^^^^^^^^^^^^^
[INFO] [stdout]     |                                                    |
[INFO] [stdout]     |                                                    this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |                                                    up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 515 |     }
[INFO] [stdout]     |     - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#1` may invoke a custom destructor because it contains a trait object
[INFO] [stdout] note: `syntax_mapping` invokes this custom destructor
[INFO] [stdout]    --> src/syntax_mapping.rs:64:1
[INFO] [stdout]     |
[INFO] [stdout]  64 | impl Drop for SyntaxMapping<'_> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]     = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 09s
[INFO] [stderr] crater-edition-check: bat v0.26.1 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]    Compiling bat v0.26.1 (/opt/rustwide/workdir)
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> src/config.rs:176:5
[INFO] [stdout]     |
[INFO] [stdout] 176 |     unsafe { std::env::set_var("BAT_PAGER", "most") };
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]    --> src/lib.rs:22:9
[INFO] [stdout]     |
[INFO] [stdout]  22 | #![deny(unsafe_code)]
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> src/config.rs:180:5
[INFO] [stdout]     |
[INFO] [stdout] 180 |     unsafe { std::env::remove_var("BAT_PAGER") };
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> src/config.rs:187:5
[INFO] [stdout]     |
[INFO] [stdout] 187 |     unsafe { std::env::set_var("PAGER", "more") };
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> src/config.rs:191:5
[INFO] [stdout]     |
[INFO] [stdout] 191 |     unsafe { std::env::remove_var("PAGER") };
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> src/config.rs:199:5
[INFO] [stdout]     |
[INFO] [stdout] 199 |     unsafe { std::env::remove_var("BAT_PAGER") };
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> src/config.rs:201:5
[INFO] [stdout]     |
[INFO] [stdout] 201 |     unsafe { std::env::remove_var("PAGER") };
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `bat` (lib test) due to 6 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "b29f90715ff5f52ec85481a96df2edc4828cd98998194d6509ff5ace999997e2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b29f90715ff5f52ec85481a96df2edc4828cd98998194d6509ff5ace999997e2", kill_on_drop: false }`
[INFO] [stdout] b29f90715ff5f52ec85481a96df2edc4828cd98998194d6509ff5ace999997e2
